package edu.whcp.comp2301.dao;


import edu.whcp.comp2301.pojo.Comment;
import edu.whcp.comp2301.pojo.News;

import java.util.List;

public interface CommentDao {
    public List<Comment> getAllComments();

    public News getNewsById(String id);

    public void checkComment(String status, String id);

    public Integer delComment(List<String> idList);

    public List<Comment> getComm(String id);

    public Integer addComment(Comment comment);
}
